<DOMSymbolItem xmlns="http://ns.adobe.com/xfl/2008/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Symbol 464" itemID="6a9db000-00000119" lastModified="1788719116">
     <timeline>
          <DOMTimeline name="Symbol 464">
               <layers>
                    <DOMLayer name="Script Layer" color="#a6fda1">
                         <frames>
                              <DOMFrame index="0" keyMode="9728">
                                   <Actionscript>
                                        <script>function elastic(X, Y, R)
{
   Xscale = Xscale * accel + (X - draken._x) * convert;
   Yscale = Yscale * accel + (Y - draken._y) * convert;
   Rscale = Rscale * accel + (R - draken._rotation) * convert;
   draken._x += Xscale;
   draken._y += Yscale;
   draken._rotation += Rscale;
}
function makeCloud()
{
   i++;
   scale = random(40) + 40;
   cloudHolder.attachMovie("clouds","cloud" + i,i);
   cloudHolder["cloud" + i]._xscale = scale;
   cloudHolder["cloud" + i]._yscale = scale;
   cloudHolder["cloud" + i]._alpha = scale;
   cloudHolder["cloud" + i]._x = random(500) + 50;
}
function makeCloud2()
{
   i++;
   scale = random(20) + 80;
   cloudHolder2.attachMovie("clouds","cloud" + i,i);
   cloudHolder2["cloud" + i]._xscale = scale;
   cloudHolder2["cloud" + i]._yscale = scale;
   cloudHolder2["cloud" + i]._alpha = scale;
   cloudHolder2["cloud" + i]._x = random(500) + 50;
}
function killDragon()
{
   dead = true;
   ballon.play();
   ballon.tween("_y",500,3,"easeoutexpo",0.4,function()
   {
      ballon.gotoAndStop(1);
      ballon.tween(["_y","_x"],[100,300],3,"easeoutexpo",1,function()
      {
         xstartpos = ballon._x;
         ystartpos = ballon._y;
         X = 0;
         Y = 0;
         R = 0;
         Xscale = 0;
         Yscale = 0;
         Rscale = 0;
         xpos = ballon._x;
         ypos = ballon._y;
         dead = false;
      }
      );
   }
   );
}
xstartpos = ballon._x;
ystartpos = ballon._y;
speed = 5;
xpos = ballon._x;
ypos = ballon._y;
xdiff = 0;
ydiff = 0;
movie_width = 600;
movie_height = 320;
draken.swapDepths(2);
cloudHolder2.swapDepths(3);
accel = 0.8;
convert = 0.1;
X = 0;
Y = 0;
R = 0;
Xscale = 0;
Yscale = 0;
Rscale = 0;
i = 0;
makeCloud2();
makeCloud();
makeCloud();
makeCloud();
makeCloud();
makeCloud();
ballon.onEnterFrame = function()
{
   if(random(40) == 0)
   {
      spikesHolder.attachMovie("spikes","spike" + spikesHolder.getNextHighestDepth(),spikesHolder.getNextHighestDepth());
   }
   with(ballon)
   {
      elastic(_x,_y + 50,_rotation,"draken");
      draken.draken_arm._rotation = _rotation * 4;
      draken.draken_arm2._rotation = _rotation * 8 + 180;
      draken.draken_foot._rotation = (- _rotation) * 4;
      draken.draken_foot2._rotation = (- _rotation) * 3;
      if(!dead)
      {
         if(Key.isDown(39))
         {
            xpos += speed;
         }
         if(Key.isDown(37))
         {
            xpos -= speed;
         }
         if(Key.isDown(38))
         {
            ypos -= speed;
         }
         if(Key.isDown(40))
         {
            ypos += speed;
         }
         if(ypos &gt; movie_height - 40)
         {
            ypos = movie_height - 40;
         }
         else if(ypos &lt; _height / 2)
         {
            ypos = _height / 2;
         }
         if(xpos &gt; movie_width - _width / 2)
         {
            xpos = movie_width - _width / 2;
         }
         else if(xpos &lt; _width / 2)
         {
            xpos = _width / 2;
         }
         if(!(_y &lt; ypos + 5 and _y &gt; ypos - 5))
         {
            _y += (ypos - _y) * 0.1;
         }
         if(_x &lt; xpos + 5 and _x &gt; xpos - 5)
         {
            if(_rotation != 0)
            {
               _rotation = 0;
            }
         }
         else
         {
            _rotation = (xpos - _x) * 0.1;
            _x += (xpos - _x) * 0.1;
         }
         ydiff = _y - ypos;
      }
   }
   removeMovieClip(line);
   createEmptyMovieClip("line",1);
   with(line)
   {
      lineStyle(2,0,100);
      moveTo(ballon._x,ballon._y + 20);
      lineTo(draken._x,draken._y);
   }
};
</script>
                                   </Actionscript>
                                   <elements/>
                              </DOMFrame>
                         </frames>
                    </DOMLayer>
                    <DOMLayer name="Layer 2" color="#b7ab86">
                         <frames>
                              <DOMFrame index="0" keyMode="9728">
                                   <elements>
                                        <DOMSymbolInstance libraryItemName="Symbol 451" name="cloudHolder2" centerPoint3DX="0.0" centerPoint3DY="0.0">
                                             <matrix>
                                                  <Matrix tx="0.0" ty="0.0"/>
                                             </matrix>
                                             <transformationPoint>
                                                  <Point/>
                                             </transformationPoint>
                                        </DOMSymbolInstance>
                                   </elements>
                              </DOMFrame>
                         </frames>
                    </DOMLayer>
                    <DOMLayer name="Layer 3" color="#f17bb6">
                         <frames>
                              <DOMFrame index="0" keyMode="9728">
                                   <elements>
                                        <DOMSymbolInstance libraryItemName="Symbol 463" name="spikesHolder" centerPoint3DX="0.0" centerPoint3DY="0.0">
                                             <matrix>
                                                  <Matrix tx="0.0" ty="0.0"/>
                                             </matrix>
                                             <transformationPoint>
                                                  <Point/>
                                             </transformationPoint>
                                        </DOMSymbolInstance>
                                   </elements>
                              </DOMFrame>
                         </frames>
                    </DOMLayer>
                    <DOMLayer name="Layer 4" color="#92e80c">
                         <frames>
                              <DOMFrame index="0" keyMode="9728">
                                   <elements>
                                        <DOMSymbolInstance libraryItemName="Symbol 462" name="draken" centerPoint3DX="320.35" centerPoint3DY="270.2">
                                             <matrix>
                                                  <Matrix tx="299.3" ty="228.65"/>
                                             </matrix>
                                             <transformationPoint>
                                                  <Point/>
                                             </transformationPoint>
                                        </DOMSymbolInstance>
                                   </elements>
                              </DOMFrame>
                         </frames>
                    </DOMLayer>
                    <DOMLayer name="Layer 5" color="#9ca2aa">
                         <frames>
                              <DOMFrame index="0" keyMode="9728">
                                   <elements>
                                        <DOMSymbolInstance libraryItemName="Symbol 454" name="ballon" centerPoint3DX="326.7" centerPoint3DY="205.7">
                                             <matrix>
                                                  <Matrix tx="299.75" ty="168.55"/>
                                             </matrix>
                                             <transformationPoint>
                                                  <Point/>
                                             </transformationPoint>
                                        </DOMSymbolInstance>
                                   </elements>
                              </DOMFrame>
                         </frames>
                    </DOMLayer>
                    <DOMLayer name="Layer 6" color="#b457eb">
                         <frames>
                              <DOMFrame index="0" keyMode="9728">
                                   <elements>
                                        <DOMSymbolInstance libraryItemName="Symbol 451" name="cloudHolder" centerPoint3DX="0.0" centerPoint3DY="0.0">
                                             <matrix>
                                                  <Matrix tx="0.0" ty="0.0"/>
                                             </matrix>
                                             <transformationPoint>
                                                  <Point/>
                                             </transformationPoint>
                                        </DOMSymbolInstance>
                                   </elements>
                              </DOMFrame>
                         </frames>
                    </DOMLayer>
                    <DOMLayer name="Layer 7" color="#c17890" current="true" isSelected="true">
                         <frames>
                              <DOMFrame index="0" keyMode="9728">
                                   <elements>
                                        <DOMShape isFloating="true">
                                             <fills>
                                                  <FillStyle index="1">
                                                       <LinearGradient>
                                                            <matrix>
                                                                 <Matrix tx="300.0" ty="160.0" a="0.0" d="0.0" b="-0.1952972412109375" c="0.1952972412109375"/>
                                                            </matrix>
                                                            <GradientEntry color="#ffffff" ratio="0.0"/>
                                                            <GradientEntry color="#8bd3e5" ratio="1.0"/>
                                                       </LinearGradient>
                                                  </FillStyle>
                                             </fills>
                                             <strokes/>
                                             <edges>
                                                  <Edge fillStyle0="0" fillStyle1="1" strokeStyle="0" edges="! 12000 6400| 0 6400| 0 0| 12000 0| 12000 6400"/>
                                             </edges>
                                        </DOMShape>
                                   </elements>
                              </DOMFrame>
                         </frames>
                    </DOMLayer>
               </layers>
          </DOMTimeline>
     </timeline>
</DOMSymbolItem>
